package com.lx.pc.domain.entity.accountlog;

import java.io.Serializable;

import org.springframework.data.mybatis.annotations.Column;
import org.springframework.data.mybatis.annotations.Entity;

import com.lx.pc.domain.entity.AbstractBaseEntity;

/**
 * 账户余额日志
 *
 * @author houzhong
 * @date 2018年10月30日 下午2:03:26
 */
@Entity(table = "t_account_log")
public class AccountLogEntity extends AbstractBaseEntity implements Serializable {
	
	private static final long serialVersionUID = 1L;
	
	/**
	 * 发送人
	 */
	@Column(name = "user_id")
	private String userId;
	
	/**
	 * 接收人用户id
	 */
	@Column(name = "recipient_user_id")
	private String recipientUserId;
	
	/**
	 * 用户余额id
	 */
	@Column(name = "account_id")
	private String accountId;
	
	/**
	 * 业务编号
	 */
	@Column(name = "business_number")
	private String businessNumber;
	
	/**
	 * 类型 1 充值 2 提现 3 支出 4 收入
	 */
	@Column(name = "business_type")
	private String businessType;
	
	/**
	 * 金额
	 */
	@Column(name = "price")
	private Float price;
	
	/**
	 * 提现操作状态，1 未操作 2 已操作
	 */
	@Column(name = "type")
	private Integer type;
	
	/**
	 * 所属人名称
	 */
	@Column(name = "bank_name")
	private String bankName;
	
	/**
	 * 手机号
	 */
	@Column(name = "phone")
	private String phone;
	
	/**
	 * 所属银行
	 */
	@Column(name = "bank_card_name")
	private String bankCardName;
	
	/**
	 * 银行卡号
	 */
	@Column(name = "bank_card_number")
	private String bankCardNumber;
	
	/**
	 * 总金额
	 */
	@Column(name = "amount")
	private Float amount;

	public AccountLogEntity() {
		super();
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}
	
	public String getUserId() {
		return userId;
	}
	
	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}
	
	public String getAccountId() {
		return accountId;
	}
	
	public void setBusinessNumber(String businessNumber) {
		this.businessNumber = businessNumber;
	}
	
	public String getBusinessNumber() {
		return businessNumber;
	}
	
	public void setBusinessType(String businessType) {
		this.businessType = businessType;
	}
	
	public String getBusinessType() {
		return businessType;
	}
	
	public void setPrice(Float price) {
		this.price = price;
	}
	
	public Float getPrice() {
		return price;
	}

	public String getRecipientUserId() {
		return recipientUserId;
	}

	public void setRecipientUserId(String recipientUserId) {
		this.recipientUserId = recipientUserId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankName(String bankName) {
		this.bankName = bankName;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getBankCardName() {
		return bankCardName;
	}

	public void setBankCardName(String bankCardName) {
		this.bankCardName = bankCardName;
	}

	public String getBankCardNumber() {
		return bankCardNumber;
	}

	public void setBankCardNumber(String bankCardNumber) {
		this.bankCardNumber = bankCardNumber;
	}

	public Float getAmount() {
		return amount;
	}

	public void setAmount(Float amount) {
		this.amount = amount;
	}

}
